
package Beam;
public class Main {
    public static void main(String[] argv) {
		final int regulPriority = 8;
	
		Beam beam = new Beam();
	    ReferenceGenerator refgen = new ReferenceGenerator(5.0, 4.0);
		BeamRegul regul = new BeamRegul(refgen,beam,regulPriority);
	
		refgen.start();
		try {
			Thread.sleep(5000);
		} catch (InterruptedException x) {
		}
		regul.start();
    }
}

